package mapspinner.util;

import com.jme.image.Texture;

public class MapTexture {
	private int textureCount = 0;
	private Texture texture;

	public MapTexture(final Texture texture) {
		this.texture = texture;
	}

	public void decrementTextureCount() {
		textureCount--;
	}

	public Texture getTexture() {
		return texture;
	}

	public int getTextureCount() {
		return textureCount;
	}

	public void incrementTextureCount() {
		textureCount++;
	}

	public void setTexture(final Texture texture) {
		this.texture = texture;
	}
}